package com.es.exception;

/**
 * @ClassName EsException
 * @author: maliang
 * @Description 自己封装异常
 * @date 2021/12/1 9:18
 * @Version 1.0版本
 */
public class EsException extends RuntimeException {

    /**
     * 异常信息
     */
    private String message;

    public EsException(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}